package com.guaju.yueshangLife.activity.mine;

import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.guaju.yueshangLife.R;
import com.guaju.yueshangLife.base.BaseActivity;
import com.guaju.yueshangLife.databinding.ActivityMyCouponBinding;

public class MyCouponActivity extends BaseActivity {
    ActivityMyCouponBinding binding;

    @Override
    protected void loadViewLayout() {
        binding = DataBindingUtil.setContentView(this, R.layout.activity_my_coupon);
        binding.llExpended.setVisibility(View.GONE);
        binding.rvExpiredCoupon.setVisibility(View.GONE);
    }

    @Override
    protected void bindViews() {

    }

    @Override
    protected void processLogic(Bundle savedInstanceState) {

    }

    @Override
    protected void setListener() {
        binding.llToExpend.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                binding.llToExpend.setVisibility(View.GONE);
                binding.llExpended.setVisibility(View.VISIBLE);
                binding.rvExpiredCoupon.setVisibility(View.VISIBLE);
            }
        });

    }
}
